package cloud.lysky.java.on.polymorphism;

/**
 * @author luoly
 * @describe
 * @date 2022-08-18 16:56
 **/
public enum Note {
    MIDDLE_C, C_SHARP,B_FLAT
}

class Instrument{
    public void play(Note note){
        System.out.println("Instrument.play()");
    }
}